

<?php
require_once('system/common.inc.php');
if(isset($_GET['Packages'])){
  $shzt_id = $_GET['id'];
  $oid=$_GET['Packages'];
	if($row=DB::result_first("update `".DCRM_CON_PREFIX."User` set `Packages`='".$oid."' WHERE `Openid`='".$shzt_id."'")){
} else {
 echo "<script>alert('开通成功');</script>";   
	}
}
?>